package com.example.urionrxt;

import com.example.interfaces.ICallback;
import com.example.urionbean.IBean;
import com.example.urionbean.Msg;
import com.example.urionbean.Error;
import com.urionapp.bp.BleFragmentActivity;

import android.Manifest;
import android.app.Activity;
import android.app.Application;
import android.os.Build;
import android.os.Handler;
import android.os.Message;
import android.os.StrictMode;
import android.support.v4.app.ActivityCompat;

public class RbxtApp extends Application {

	public static final int REQUEST_CONNECT_DEVICE_SECURE = 1;
	public static final int REQUEST_CONNECT_DEVICE_INSECURE = 2;
	public static final int REQUEST_CONNECT_DEVICE = 1;
	public static final int REQUEST_ENABLE_BT = 2;

	private ICallback call;

	public void onCreate() {
		super.onCreate();

		StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder();
		StrictMode.setVmPolicy(builder.build());
		builder.detectFileUriExposure();
	}


	public ICallback getCall() {
		return call;
	}

	public void setCall(ICallback call) {
		this.call = call;
	}
}
